package br.com.membros.database;

import javax.inject.Inject;
import javax.inject.Named;

import br.com.membros.utils.database.interfaces.IAgendaService;
import br.com.membros.utils.database.interfaces.IControleService;
import br.com.membros.utils.database.interfaces.IDataBaseService;
import br.com.membros.utils.database.interfaces.IMembroService;
import br.com.membros.utils.database.interfaces.ISalaService;
import br.com.membros.utils.database.interfaces.IUsuarioService;

@Named
public class ServiceFactory implements IDataBaseService {

	@Inject
	private IAgendaService agendaService;
	
	@Inject
	private IControleService controleService;

	@Inject
	private IMembroService membroService;
	
	@Inject
	private ISalaService salaService;

	@Inject
	private IUsuarioService usuarioService;

	
	@Override
	public IAgendaService getAgendaService() {
		return agendaService;
	}

	@Override
	public IControleService getControleService() {
		return controleService;
	}

	@Override
	public IMembroService getMembroService() {
		return membroService;
	}

	@Override
	public ISalaService getSalaService() {
		return salaService;
	}

	@Override
	public IUsuarioService getUsuarioService() {
		return usuarioService;
	}

}
